package demo.spring.store;

import demo.spring.UnitTestBase;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;

/**
 * @Description:
 * @Author:tyzhang
 * @Date: Created in 15:26 2018/3/19
 */
@RunWith(BlockJUnit4ClassRunner.class)
public class TestStore extends UnitTestBase {
    public TestStore() {
        super("classpath:spring-store.xml");
    }

    @Test
    public void testStore() {
        Store store = super.getBean("store");
        System.out.println(store.getClass().getName());
    }

    @Test
    public void testJdbc() {
        MyDriverManager myDriverManager = super.getBean("myDriverManager");
        System.out.println(myDriverManager.getClass().getName());
    }
}
